89bfc24973862f18eb4191e076fb733f5e91d9c8,clc/modules/msgs/src/main/java/com/eucalyptus/auth/policy/PolicyEngineImpl.java,PolicyEngineImpl,processQuotas,#List#String#String#String#String#String#number#,568
Before Change
PolicyScope scope = policy.getPolicyScope();
String principalId = getAuthorizationPrincipalId( scope, accountId, userId );
for ( Condition cond : auth.getConditions( ) ) {
Key key = Keys.getKeyInstance( Keys.getKeyClass( cond.getKey( ) ) );
if ( !( key instanceof QuotaKey ) ) {
LOG.debug( "Key " + cond.getKey( ) + " is not a quota" );
continue;
After Change
PolicyScope scope = policy.getPolicyScope();
String principalId = getAuthorizationPrincipalId( scope, accountId, userId );
for ( Condition cond : auth.getConditions( ) ) {
Key key = Keys.getKeyByName( cond.getKey( ) );
if ( !( key instanceof QuotaKey ) ) {
LOG.debug( "Key " + cond.getKey( ) + " is not a quota" );
continue;